package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("schoolbag_order_read_record")
public class SchoolbagOrderReadRecordDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 订单id */
    @TableField("order_Id")
    private Long orderId;
    /** 书包id */
    @TableField("schoolbag_id")
    private Long schoolbagId;
    /** 书包规格id */
    @TableField("schoolbag_spec_id")
    private Long schoolbagSpecId;
    /** 分组id */
    @TableField("schoolbag_group_id")
    private Long schoolbagGroupId;
    /** 书包id */
    @TableField("schoolbag_group_bag_id")
    private Long schoolbagGroupBagId;
    /** 年份 */
    @TableField("year")
    private Integer year;
    /** 月份 */
    @TableField("month")
    private Integer month;
    /** 服务顺序1~12 */
    @TableField("service_sort")
    private Integer serviceSort;
    /** 分组书包下标 */
    @TableField("schoolbag_group_index")
    private Integer schoolbagGroupIndex;
    /** 服务状态 0待发货(商家) 1已发货(商家) 2已收货 (用户) 3已发货(用户)  4已收货(商家)  */
    @TableField("service_status")
    private Integer serviceStatus;
    /** 当次服务是否完成 0否 1是 */
    @TableField("service_finish")
    private Integer serviceFinish;
    /** 服务状态描述 */
    @TableField("service_status_desc")
    private String serviceStatusDesc;
    /** 是否已扣除押金 0否 1是 */
    @TableField("is_deduction_deposit")
    private Integer isDeductionDeposit;
    /** 扣除押金金额 */
    @TableField("deduction_money")
    private BigDecimal deductionMoney;
    /** 扣除押金原因 */
    @TableField("deduction_reason")
    private String deductionReason;
    /** 扣除押金图片 */
    @TableField("deduction_img")
    private String deductionImg;
    /** 用户id */
    @TableField("user_id")
    private Long userId;
    /** 发货时间 */
    @TableField("express_delivery_time")
    private Date expressDeliveryTime;
    /** 京东物流运单号(发货) */
    @TableField("express_delivery_waybill_code")
    private String expressDeliveryWaybillCode;
    /** 预期归还时间 */
    @TableField("expect_return_time")
    private Date expectReturnTime;
    /** 实际归还时间 */
    @TableField("actual_return_time")
    private Date actualReturnTime;
    /** 京东物流运单号(回收) */
    @TableField("express_return_waybill_code")
    private String expressReturnWaybillCode;

    /** 用户确认收货时间 */
    @TableField("user_confirm_time")
    private Date userConfirmTime;
    /** 总仓确认收货时间 */
    @TableField("company_confirm_time")
    private Date companyConfirmTime;
    /** 收货地址id */
    @TableField("address_id")
    private Long addressId;
    /** 申诉说明 */
    @TableField("appeal_desc")
    private String appealDesc;
    /** 申诉图片 */
    @TableField("appeal_picture")
    private String appealPicture;

}
